package com.qdlc.p2p.biz.task;

import java.util.List;

import com.lmax.disruptor.EventFactory;
import com.qdlc.p2p.biz.zdata.LotteryResult;
import com.qdlc.p2p.dal.dto.AccountLog;
import com.qdlc.p2p.dal.dto.Borrow;
import com.qdlc.p2p.dal.dto.BorrowRepayment;
import com.qdlc.p2p.dal.dto.EnjoyUser;
import com.qdlc.p2p.dal.dto.TppTradeLog;
import com.qdlc.p2p.dal.dto.User;
import com.qdlc.p2p.dal.model.AccountCashModel;
import com.qdlc.p2p.dal.model.BaseGiveAwardModel;
import com.qdlc.p2p.dal.model.BondModel;
import com.qdlc.p2p.dal.model.BorrowModel;
import com.qdlc.p2p.dal.model.TppModel;
import com.qdlc.p2p.dal.model.TppRechargeModel;

public final class ValueEvent {
	// 操作
	private String operate;
	private long value;
	private User user;
	private BorrowModel borrowModel;
	private BorrowRepayment borrowRepayment;
	private long id;
	private long userId;
	private int emailStatus;
	private int phoneStatus;
	private int realnameStatus;
	private Borrow borrow;
	private long substationId;
	private AccountLog accountLog;
	private String resultFlag;
	private BondModel bondModel;
	private AccountCashModel accountCashModel;
	/*private ChinapnrUserBindCard chinapnrUserBindCard;*/
	private String tppUserId;//第三方开户账户id
	private String tppUserCustId;//第三方交易账户
	private String cardId;// 身份证号码
	private String realName;//真实姓名
	//金额
	private double money;
	//实际借款金额
	private double autoTenderMaxAcount;
	//电影张数
	private int moviePages;
	// 调度任务
	private TppModel tppModel;
	/**
	 * 代收代付 交易记录
	 */
	private TppTradeLog tppTradeLog;

	/**
	 * 趣享发放奖品
	 */
	private EnjoyUser enjoyUser;
	
	/**
	 * 是否是最后一个，用于自动投标处
	 */
	private String lastflag;
	
	private String auditOrderNo;//企业开户请求审核订单号
	
	private String innerOrderNo;//企业开户内部交易凭证号
	
	private byte auditStatus;//企业开户审核结果
	
	private String auditMessage;//企业开户审核结果建议
	
	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}


	public double getAutoTenderMaxAcount() {
		return autoTenderMaxAcount;
	}

	public void setAutoTenderMaxAcount(double autoTenderMaxAcount) {
		this.autoTenderMaxAcount = autoTenderMaxAcount;
	}

	public String getLastflag() {
		return lastflag;
	}

	public void setLastflag(String lastflag) {
		this.lastflag = lastflag;
	}

	public EnjoyUser getEnjoyUser() {
		return enjoyUser;
	}

	public void setEnjoyUser(EnjoyUser enjoyUser) {
		this.enjoyUser = enjoyUser;
	}

	/**
	 * 第三方业务处理列表
	 */
	private List<TppModel> taskList;


	/**
	 * 用户抽奖
	 * @return
     */
	private LotteryResult lotteryResult;
	private BaseGiveAwardModel baseGiveAwardModel;

	public LotteryResult getLotteryResult() {
		return lotteryResult;
	}

	public void setLotteryResult(LotteryResult lotteryResult) {
		this.lotteryResult = lotteryResult;
	}

	public BaseGiveAwardModel getBaseGiveAwardModel() {
		return baseGiveAwardModel;
	}

	public void setBaseGiveAwardModel(BaseGiveAwardModel baseGiveAwardModel) {
		this.baseGiveAwardModel = baseGiveAwardModel;
	}

	public AccountCashModel getAccountCashModel() {
		return accountCashModel;
	}

	public void setAccountCashModel(AccountCashModel accountCashModel) {
		this.accountCashModel = accountCashModel;
	}

	private TppRechargeModel tppRechargeModel;
	
	/*public ChinapnrUserBindCard getChinapnrUserBindCard() {
		return chinapnrUserBindCard;
	}

	public void setChinapnrUserBindCard(ChinapnrUserBindCard chinapnrUserBindCard) {
		this.chinapnrUserBindCard = chinapnrUserBindCard;
	}
*/
	public String getOperate() {
		return operate;
	}

	public void setOperate(String operate) {
		this.operate = operate;
	}

	public long getValue() {
		return value;
	}

	public void setValue(final long value) {
		this.value = value;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public BorrowModel getBorrowModel() {
		return borrowModel;
	}

	public void setBorrowModel(BorrowModel borrowModel) {
		this.borrowModel = borrowModel;
	}

	public BorrowRepayment getBorrowRepayment() {
		return borrowRepayment;
	}

	public void setBorrowRepayment(BorrowRepayment borrowRepayment) {
		this.borrowRepayment = borrowRepayment;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getEmailStatus() {
		return emailStatus;
	}

	public void setEmailStatus(int emailStatus) {
		this.emailStatus = emailStatus;
	}

	public int getPhoneStatus() {
		return phoneStatus;
	}

	public void setPhoneStatus(int phoneStatus) {
		this.phoneStatus = phoneStatus;
	}

	public int getRealnameStatus() {
		return realnameStatus;
	}

	public void setRealnameStatus(int realnameStatus) {
		this.realnameStatus = realnameStatus;
	}

	public Borrow getBorrow() {
		return borrow;
	}

	public void setBorrow(Borrow borrow) {
		this.borrow = borrow;
	}

	public long getSubstationId() {
		return substationId;
	}

	public void setSubstationId(long substationId) {
		this.substationId = substationId;
	}

	public AccountLog getAccountLog() {
		return accountLog;
	}

	public void setAccountLog(AccountLog accountLog) {
		this.accountLog = accountLog;
	}

	public String getResultFlag() {
        return resultFlag;
    }

    public void setResultFlag(String resultFlag) {
        this.resultFlag = resultFlag;
    }

    public BondModel getBondModel() {
		return bondModel;
	}

	public void setBondModel(BondModel bondModel) {
		this.bondModel = bondModel;
	}



	public String getTppUserId() {
		return tppUserId;
	}

	public void setTppUserId(String tppUserId) {
		this.tppUserId = tppUserId;
	}

	public String getTppUserCustId() {
		return tppUserCustId;
	}

	public void setTppUserCustId(String tppUserCustId) {
		this.tppUserCustId = tppUserCustId;
	}
	public TppRechargeModel getTppRechargeModel() {
		return tppRechargeModel;
	}

	public void setTppRechargeModel(TppRechargeModel tppRechargeModel) {
		this.tppRechargeModel = tppRechargeModel;
	}
	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public List<TppModel> getTaskList() {
		return taskList;
	}

	public void setTaskList(List<TppModel> taskList) {
		this.taskList = taskList;
	}

	/**
	 * 获取 代收代付 交易记录
	 * @return 
	 */
	public TppTradeLog getTppTradeLog() {
		return tppTradeLog;
	}

	/**
	 * 设置 代收代付 交易记录
	 * @param 
	 */
	public void setTppTradeLog(TppTradeLog tppTradeLog) {
		this.tppTradeLog = tppTradeLog;
	}
	
	public final static EventFactory<ValueEvent> EVENT_FACTORY = new EventFactory<ValueEvent>() {
		public ValueEvent newInstance() {
			return new ValueEvent();
		}
	};

	/**
	 * @return auditOrderNo
	 */
	public String getAuditOrderNo() {
		return auditOrderNo;
	}

	/**
	 * @param auditOrderNo 要设置的 auditOrderNo
	 */
	public void setAuditOrderNo(String auditOrderNo) {
		this.auditOrderNo = auditOrderNo;
	}

	/**
	 * @return innerOrderNo
	 */
	public String getInnerOrderNo() {
		return innerOrderNo;
	}

	/**
	 * @param innerOrderNo 要设置的 innerOrderNo
	 */
	public void setInnerOrderNo(String innerOrderNo) {
		this.innerOrderNo = innerOrderNo;
	}

	/**
	 * @return auditMessage
	 */
	public String getAuditMessage() {
		return auditMessage;
	}

	/**
	 * @param auditMessage 要设置的 auditMessage
	 */
	public void setAuditMessage(String auditMessage) {
		this.auditMessage = auditMessage;
	}

	/**
	 * @return auditStatus
	 */
	public byte getAuditStatus() {
		return auditStatus;
	}

	/**
	 * @param auditStatus 要设置的 auditStatus
	 */
	public void setAuditStatus(byte auditStatus) {
		this.auditStatus = auditStatus;
	}

	public int getMoviePages() {
		return moviePages;
	}

	public void setMoviePages(int moviePages) {
		this.moviePages = moviePages;
	}

	public TppModel getTppModel() {
		return tppModel;
	}

	public void setTppModel(TppModel tppModel) {
		this.tppModel = tppModel;
	}
}
